package com.my.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.my.entity.AskLeave;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AskLeaveMapper extends BaseMapper<AskLeave> {

    IPage<AskLeave> getList(IPage<AskLeave> page, @Param("leave") AskLeave leave);

    List<AskLeave> getListById(@Param("userId") Long userId,@Param("userType") Integer userType, @Param("cId") Long cId);

}
